Bookly\Frontend\Modules\Booking\Ajax D

Total Complexity 217
Dependencies 39
Dependents 1
Total lines 1,319
Lines of code 1,026
Logical lines of code 505
Comment lines 162
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
renderTime()
C
30 28 109
_prepareProgressTracker()
C
34 28 79
renderPayment()
C
30 24 116
saveAppointment()
B
36 15 84
renderDetails()
A
39 14 60
sessionSave()
A
43 13 45
cancelAppointment()
A
45 12 37
renderService()
A
37 9 75
renderNextTime()
A
45 11 36
approveAppointment()
A
44 9 42
renderComplete()
A
43 8 46
rejectAppointment()
A
47 7 35
renderExtras()
S
46 6 40
renderRepeat()
S
42 5 52
_setDataForSkippedServiceStep()
S
46 5 38
_handleTimeZone()
S
53 6 23
wpUserLogin()
S
43 4 49
renderCart()
S
51 5 25
checkCart()
S
56 3 18
csrfTokenValid()
S
63 2 11
_showCartButton()
S
78 2 3
permissions()
S
79 1 3